package io.chenglicun.modules.clc.service;

import io.chenglicun.common.page.PageData;
import io.chenglicun.common.service.CrudService;
import io.chenglicun.modules.clc.dto.ClcVoteDTO;
import io.chenglicun.modules.clc.entity.ClcVoteEntity;

import java.util.List;
import java.util.Map;

/**
 * 投票
 *
 * @author HB 137664951@qq.com
 * @since 1.0 2023-11-24
 */
public interface ClcVoteService extends CrudService<ClcVoteEntity, ClcVoteDTO> {
    PageData<ClcVoteDTO> page(Map<String, Object> params);

    ClcVoteDTO get(Long id);

    List<ClcVoteDTO> list(Map<String, Object> params);

    void save(ClcVoteDTO dto);

    void update(ClcVoteDTO dto);

    void delete(Long[] ids);
}